﻿@{
    var user = SessionFactory.CurrentUser;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ZHCNLEI</title>
    @*样式文件*@
    <link href="/content/easyui/insdep/themes/insdep/easyui.css" rel="stylesheet" />
    <link href="/content/easyui/insdep/themes/insdep/easyui_animation.css" rel="stylesheet" />
    <link href="/content/easyui/insdep/themes/insdep/easyui_plus.css" rel="stylesheet" />
    <link href="/content/easyui/insdep/themes/insdep/insdep_theme_default.css" rel="stylesheet" />
    <link href="/content/easyui/insdep/themes/insdep/icon.css" rel="stylesheet" />
    <link href="/content/easyui/extensions/icons/bullet.css" rel="stylesheet" />
    <link href="/content/easyui/extensions/icons/icons16.css" rel="stylesheet" />
    <link href="/content/easyui/extensions/controls/controls.min.css" rel="stylesheet" />
    <link href="/content/manage/style.min.css" rel="stylesheet" />
    <link href="/content/wxeditor/wxeditor.css" rel="stylesheet" />
    <link href="/content/wxeditor/emotion.css" rel="stylesheet" />
    <link href="/content/wxeditor/info.css" rel="stylesheet" />
    <link href="/content/other/common/other.css" rel="stylesheet" />
    @*脚本文件*@
    <script src="/content/utility/jquery-1.8.2.min.js"></script>
    <script src="/content/utility/json2.js"></script>
    <script src="/content/easyui/insdep/jquery.easyui.min.js"></script>
    <script src="/content/easyui/insdep/locale/easyui-lang-zh_CN.js"></script>
    <script src="/content/easyui/insdep/themes/insdep/jquery.insdep-extend.min.js"></script>
    <script src="/content/easyui/extensions/controls/scripts/radio.js"></script>
    <script src="/content/easyui/extensions/controls/scripts/checkbox.js"></script>
    <script src="/content/easyui/extensions/official/jquery.portal.js"></script>
    <script src="/content/easyui/extensions/default.js"></script>
    <script src="/content/ueditor/ueditor.config.js"></script>
    <script src="/content/ueditor/ueditor.all.min.js"></script>
    <script src="/content/ueditor/lang/zh-cn/zh-cn.js"></script>
    <script src="/content/utility/webuploader/webuploader.js"></script>
    <script src="/content/other/common/uploadImg.js"></script>
    <script src="/content/other/common/uploadImgCut.js"></script>
    <script src="/content/manage/script.min.js"></script>
    <script src="/content/wxeditor/wxeditor.js"></script>
    <script src="/content/wxeditor/selectImage.js"></script>
    <script src="/content/wxeditor/selectVoice.js"></script>
    <script src="/content/wxeditor/selectVideo.js"></script>
    <script src="/content/wxeditor/selectNews.js"></script>
</head>
<body class="easyui-layout">
    <div data-options="region:'north',border:false,bodyCls:'theme-header-layout'">
        <div class="theme-navigate">
            <a href="javascript:;" class="easyui-menubutton theme-navigate-more-button"
               data-options="menu:'.theme-navigate-user-panel',hasDownArrow:false"></a>
            <div class="theme-navigate-user-panel">
                <dl>
                    <dd>
                        <img src="/userfiles/head/@(user.Head)" width="52" height="52">
                        <b class="badge-prompt">@(user.Name)</b>
                        <span>@(user.Mail)</span>
                    </dd>
                    <dt>
                        <a href="javascript:;" class="theme-navigate-user-modify" onclick="manage.updatePwd()">修改密码</a>
                        <a href="javascript:;" class="theme-navigate-user-logout" onclick="manage.logout()">注销</a>
                    </dt>
                </dl>
            </div>
        </div>
    </div>
    <div data-options="region:'west',width:200,border:false,bodyCls:'theme-left-layout'">
        <div class="theme-left-normal">
            <div class="easyui-layout" data-options="border:false,fit:true">

                <div data-options="region:'north',border:false" style="height:100px;">
                    <div class="theme-left-user-panel">
                        <dl>
                            <dt>
                                <img src="/userfiles/head/@(user.Head)" width="46" height="46">
                            </dt>
                            <dd>
                                <b class="badge-prompt">@(user.Name)</b>
                                <span>@(user.UserName)</span>
                                <p>权限：<i class="font-red">@(user.IsSuper ? "Super" : "Basic")</i></p>
                            </dd>

                        </dl>
                    </div>
                </div>
                <div data-options="region:'center',border:false">
                    <div class="easyui-accordion" data-options="border:false,fit:true">@Easyui.MainMenu()</div>
                </div>
            </div>
        </div>
    </div>
    <div data-options="region:'center',border:false">
        <div id="layout-tabs" class="theme-tab-blue-line theme-tab-body-unborder">
            <div data-options="title:'欢迎使用',href:'/manage/home/welcome',iconCls:'icon-home'"></div>
        </div>
        <div id="layout-tabs-tools" class="panel-body">
            @Easyui.IconButton("icon-home", "转到主页", "manage.goToHome()", true)
            @Easyui.IconButton("icon-edit-add", "添加窗口", "manage.addCustomTab()", true)
            @Easyui.IconButton("icon-cross-octagon", "全部关闭", "manage.closeAllTabs()", true)
        </div>
        <div id="layout-tabs-menu">
            <div data-type="refresh" data-options="iconCls:'icon-reload'">刷新</div>
            <div class="menu-sep"></div>
            <div data-type="close">关闭</div>
            <div data-type="closeAll">关闭所有项</div>
            <div data-type="closeOther">除此之外全部关闭</div>
        </div>
    </div>
    <div id="layout-common-code" style="display:none;"></div>
</body>
</html>